-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.6.0
-
Code
-
Classes
- Functions
Total Complexity |
72 |
Dependencies |
20 |
Dependents |
1 |
Total lines |
424 |
Lines of code |
259 |
Logical lines of code |
166 |
Comment lines |
80 |
Methods |
14 |
Properties |
6 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getDiscountedProductsForCart() |
D |
30 |
31 |
117 |
getDiscountedProductPrice() |
A |
50 |
9 |
29 |
getActiveRulesForProduct() |
A |
50 |
9 |
28 |
calculateProduct() |
S |
56 |
5 |
17 |
getGiftedCartProducts() |
S |
58 |
5 |
15 |
recalculatePersistenceCache() |
S |
60 |
2 |
13 |
install() |
S |
73 |
2 |
5 |
processCartManually() |
S |
75 |
2 |
5 |
isRuleMatchedCart() |
S |
65 |
2 |
9 |
__construct() |
S |
68 |
1 |
7 |
withContext() |
S |
74 |
1 |
5 |
isGlobalEngineExisting() |
S |
80 |
1 |
3 |
getInstance() |
S |
81 |
1 |
3 |
getProductProcessor() |
S |
82 |
1 |
3 |